package com.dailyblue.java.boot.mybatisplus.bean;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;

@Data
public class School implements Serializable {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private String schoolName;
    @TableField(value = "loc",fill = FieldFill.INSERT)
    private String loc;
}
